package net.togogo.mp.domain.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

/**
 * <p>
 *
 * </p>
 *
 * @author YYD
 * @since 2025/9/25
 */
@Data
@Schema(description = "分页结果")
public class PageDTO<T> {
    @Schema(description ="总条数")
    private Long total;
    @Schema(description ="总页数")
    private Long pages;
    @Schema(description ="集合")
    private List<T> list;
}
